﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/HomeSite.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<TimeTableManagement.Entities.TimeTable>>" %>

<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
 <% using (Html.BeginForm("CreateAutoResurt","TimeTable", FormMethod.Post))
    { %>   
    <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" Width="100%" 
        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" 
        GroupBoxCaptionOffsetY="-28px" 
        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css">
        <ContentPaddings Padding="14px" />
        <PanelCollection>
<dx:PanelContent runat="server" SupportsDisabledAttribute="True">

    <div class="editor-label">
        Lựa chọn học kỳ cần tạo
    </div>
    <div class="editor-field">
        <%: Html.DropDownList("term", String.Empty)%>
    </div>
    <div class="editor-label">
        Chọn thuật toán
    </div>
    <div class="editor-field">
        <input id="Radio1" name="thuattoan" type="radio" value="1"/>Thuật toán 1
        <input id="Radio2" name="thuattoan" type="radio" value="2"/>Thuật toán 2
        <input id="Radio3" name="thuattoan" type="radio" value="3"/>Thuật toán 3
    </div>
    <p>
        <%: Html.ValidationSummary(true) %>
        <input type="submit" value="Create" onclick="loading()"/>
        <img id="loadingimg" src="../../Content/images/load2.gif" alt="images" style="display:none"/>
    </p>

</dx:PanelContent>
</PanelCollection>
    </dx:ASPxRoundPanel>
<% } %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
<script type="text/javascript">
    function loading() {
        document.getElementById('loadingimg').style.display = "inline";
    }

</script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="leftmenu" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="menuright" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="Footer" runat="server">
</asp:Content>
